<?php
use common\components\widgets\Datetimepicker;
Datetimepicker::widget(['timepicker' => 'false','format'=>'Y-m-d']);
?>
<?php $form = \yii\widgets\ActiveForm::begin(['enableAjaxValidation' => true,'enableClientValidation' => true,'options'=>['class'=>'form-validate']]); ?>
    <table width="100%" class="table-form">
        <tr>
            <th class="zx-goods-table" style="width: 40%">开始上课时间</th>
            <td><?= $form->field($model, 'start_time', ['template' => '{input}{error}{hint}'])->textInput(['class'=>'datetimepicker input-text']) ?></td>
        </tr>
    </table>
    <div class="m_top_10 btn" style="display: none">
        <?= \yii\helpers\Html::submitButton('提交', ['class' => "button", 'id' => 'dosubmit']) ?>
    </div>
<?php \yii\widgets\ActiveForm::end(); ?>